package com.jinsi.mapper.yrf;


import com.jinsi.pojo.Department;
import com.jinsi.pojo.SyUser;
import com.jinsi.pojo.SyUserSeal;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

@Mapper
public interface BackgroundManagementPersonnelListMapper {

    List<Department> getTree(String deptState);

    List<SyUser> getAll(Integer aa,String userAccount, String userNickname,String deptName, Date userCreateDate,String deptState);

    void updatedeptEnableStatus(int userId, int userEnableStatus);

    void updatedeptuserStats(int userId, int userStats);

    List<SyUser> see(int userId);

    int syuserbj(Integer userId,String userNickname,String userUrl,int userSex,String userPhone,String userIdCard,
                  Date userDateBirth, String deptName, String userEmail);

    int syuserbjft(SyUserSeal syUserSeal);

    /**
     * 查看对应的userId是否存在
     */
    SyUserSeal syuserckft(int userId);

    int syuserbjft2(SyUserSeal syUserSeal);
}
